<template>
  <view>
    <personal ref="personal" :options="page.options"></personal>
  </view>
</template>

<script setup>
  import Personal from '@/pages/familyPage/components/personal.vue';
  import { onMounted, reactive, ref, nextTick } from 'vue';
  import { onLoad, onShow } from '@dcloudio/uni-app';

  const page = reactive({
    options: {},
  });

  const personal = ref();

  onLoad((options) => {
    page.options = options;
  });

  onShow(async () => {
    nextTick(async () => {
      await personal._value.getPersonalData();
      await personal._value.getRelationshipsList();
    });
  });
</script>


<style scoped lang="scss">

</style>
